package com.zyzd.custom.widget.attributedesc;


import java.io.Serializable;

/**
 * Created by lzy on 2018/6/4 0004.
 * description ${TODO}
 * <p>
 * Changed by somebody on 2018/6/4 0004
 * description ${TODO}
 */
public class TextEntity extends BaseAttributeDescView.BaseEntity implements Serializable {

    public TextEntity(String content) {
        this.content = content;
    }

    public String getPrefix() {
        switch (getType()) {
            case LEFT:
                return "left: ";
            case RIGHT:
                return "right: ";
            default:
                return "line: ";
        }
    }
}
